﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Romeo.Data;

namespace Romeo
{
    public partial class MainForm : Form
    {
        public MainForm ()
        {
            InitializeComponent ();
        }

        private bool OkToQuit ()
        {
            return true;
        }
        private void menu_File_Exit_Click (object sender, EventArgs e)
        {
            if (OkToQuit ())
            {
                Close ();
            }
        }

        private void menu_File_NewGame_Click (object sender, EventArgs e)
        {
            if (OkToQuit ())
            {
                board.NewGame ();
            }
        }
    }
}
